package dao;

import entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    public List<User> findAll();

    public Boolean insertUser(User user);

    public Boolean deleteUser(int id);

    public Boolean    updateUser(@Param("id") int id, @Param("account")String account);
}
